package org.example.bean;

public class UserBean {
    /**编号*/
    private String userID;
    /**用户名*/
    private String userName;
    /**密码*/
    private  String password = "000";
    /**真实姓名*/
    private String realName;
    /**权限*/
    private String grade;

    public UserBean() {
    }

    public UserBean(String userName, String realName, String grade) {
        this.userName = userName;
        this.realName = realName;
        this.grade = grade;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "\nUserBean{" +
                "userID='" + userID + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", grade='" + grade + '\'' +
                '}';
    }
}
